package com.wuze.cloud.dao;

import com.wuze.cloud.pojo.SysFileShardDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: wuze
 * @description:
 * @date: 2023/02/20
 */
@Repository
public interface SysFileShardDao {

    List<SysFileShardDO> findByKey(@Param("openKey") String openKey);

    void add(@Param("shard") SysFileShardDO shard);
}
